package com.heima.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_node")
public class Node {//点位表
    @TableId(value = "id",type = IdType.AUTO)
    public  Long  id;
    public  String  name;//点位名称
    public  String  addr;//点位详细地址
    public  String  areaCode;//所在区域Id
    public  Integer  createUserId;//创建人id
    public  Long  regionId;//区域id
    public  Integer  businessId;//商圈id
    public  Integer  ownerId;//点位主Id
    public  String  ownerName;//点位主名称
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;//'创建时间'
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;//'修改时间'

}
